Public Class Producto

    Private _codigo As String
    Private _nombre As String
    Private _unidadMedida As String
    Private _fechaIngreso As Date
    Private _stockActual As Integer
    Private _stockMaximo As Integer
    Private _stockMinimo As Integer
    Private _precioUnitario As Decimal

    Public Property Codigo() As String
        Get
            Return _codigo
        End Get
        Set(ByVal value As String)
            _codigo = value
        End Set
    End Property

    Public Property Nombre() As String
        Get
            Return _nombre
        End Get
        Set(ByVal value As String)
            _nombre = value
        End Set
    End Property

    Public Property UnidadMedida() As String
        Get
            Return _unidadMedida
        End Get
        Set(ByVal value As String)
            _unidadMedida = value
        End Set
    End Property

    Public Property FechaIngreso() As Date
        Get
            Return _fechaIngreso
        End Get
        Set(ByVal value As Date)
            _fechaIngreso = value
        End Set
    End Property

    Public Property StockActual() As Integer
        Get
            Return _stockActual
        End Get
        Set(ByVal value As Integer)
            _stockActual = value
        End Set
    End Property

    Public Property StockMaximo() As Integer
        Get
            Return _stockMaximo
        End Get
        Set(ByVal value As Integer)
            _stockMaximo = value
        End Set
    End Property

    Public Property StockMinimo() As Integer
        Get
            Return _stockMinimo
        End Get
        Set(ByVal value As Integer)
            _stockMinimo = value
        End Set
    End Property

    Public Property PrecioUnitario() As Decimal
        Get
            Return _precioUnitario
        End Get
        Set(ByVal value As Decimal)
            _precioUnitario = value
        End Set
    End Property

End Class
